//分类界面配置
export const momentContentConfig = {
  table: 'moment',
  title: '发布',
  top: {
    title: '发布列表',
    subTitle: '管理系统农户的供应、求助信息',
  },
  tableArr: [
    {
      label: '标题',
      prop: 'title'
    },
    {
      label: '描述',
      prop: 'description',
    },
    {
      label: '地址',
      prop: 'address'
    },
    {
      label: '图片',
      prop: 'img_src',
      type: 'image',
      width: '160'
    },
    {
      label: '时间',
      prop: 'time',
      type: 'time',
      width: '160'
    },
    {
      label: '数目',
      prop: 'amount',
      width: '100'
    },
    {
      label: '类型',
      prop: 'type',
      type: 'status-multie',
      itemProps: {
        statusMap: {
          1: '求助',
          2: '供应'
        }
      },
      width: '100'
    },
    {
      label: '状态',
      prop: 'status',
      type: 'status-multie',
      itemProps: {
        statusMap: {
          0: '不通过',
          1: '审核中',
          2: '审核通过'
        }
      },
      width: '100'
    },
    {
      label: '操作',
      align: 'center',
      type: 'action',
      itemProps: {
        actions: ['status-multie', 'agree', 'delete'],
      },
      itemConfig: {
        statusProp: 'status',
        showStatus: 1,
        statusMap: {
          0: '拒绝'
        }
      },
      width: '250'
    }
  ]
}
